package com.yunxin.core.application.dto.page;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * @author zero°
 * @since 2023-05-27
 */
@Data
@Schema(description = "页面配置数据对象")
public class PageInfoDataDTO<T extends PageComponentElementInfoDataDTO> implements Serializable {

    /**
     * 页面背景颜色
     */
    @Schema(description = "页面背景颜色")
    private String backgroundColor;

    /**
     * 页面抬头
     */
    @Schema(description = "页面抬头")
    private String pageTitle;

    /**
     * 页面组件数据
     */
    @Schema(description = "页面组件数据")
    private List<PageComponentInfoDataDTO<T>> componentData;
}
